ADD_TIME block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
currently restricted |
Graphical interface |
|
Available since |
version 1.64.0 (for Neuron Power Engineer) - initial variant version 3.8.0 (for library |
Functionality
The block adds the time value entered at input IN2
to the time value entered at input IN1
(= IN1 + IN2
). The block returns the result of this addition in format TIME
.
No check of invalid connections For some blocks, invalid connections are not checked by Neuron Power Engineer. Therefore, enter code in your application to detect invalid connections (e.g. See "Standard blocks for the application" for information what the consequences of an invalid connection might be. |
An invalid connection due to →overflows or →underflows might occur during a calculation using ADD_TIME
. As your used →target system might influence the usage of →time literals in Neuron Power Engineer
Inputs, return value
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
1st value |
|
|
2nd value |
|
Return value: |
– |
|
|
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Example for usage within ST-editor
The calculated values are evaluated by using the Assert
block.
|
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.